package com.ruoyi.system.domain.life;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人情世故对象 life_gift_list
 *
 * @author ruoyi
 * @date 2024-01-23
 */
public class LifeGiftList extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 礼金id
     */
    private Long lGiftId;

    /**
     * 事件id
     */
    @Excel(name = "事件类型")
    private String lEventType;

    /**
     * 主人id
     */
    @Excel(name = "主人id")
    private Long lPillarId;

    /**
     * 礼物方式（0收 1送）
     */
    @Excel(name = "礼物方式", readConverterExp = "0=收,1=送")
    private String lGiftWay;

    /**
     * 礼金
     */
    @Excel(name = "礼金")
    private BigDecimal lCashGift;

    /**
     * 礼物
     */
    @Excel(name = "礼物")
    private String lGift;

    private BigDecimal totalMoney;

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }


    @Excels({
            @Excel(name = "姓名", targetAttr = "lRealName", type = Excel.Type.EXPORT),
            @Excel(name = "手机号", targetAttr = "lPhoneNumber", type = Excel.Type.EXPORT)
    })
    private LifeFamilyFriends lFamilyFriends;

    public LifeFamilyFriends getlFamilyFriends() {
        return lFamilyFriends;
    }

    public void setlFamilyFriends(LifeFamilyFriends lFamilyFriends) {
        this.lFamilyFriends = lFamilyFriends;
    }

    public void setlGiftId(Long lGiftId) {
        this.lGiftId = lGiftId;
    }

    public Long getlGiftId() {
        return lGiftId;
    }

    public void setlEventType(String lEventType) {
        this.lEventType = lEventType;
    }

    public String getlEventType() {
        return lEventType;
    }

    public void setlPillarId(Long lPillarId) {
        this.lPillarId = lPillarId;
    }

    public Long getlPillarId() {
        return lPillarId;
    }

    public void setlGiftWay(String lGiftWay) {
        this.lGiftWay = lGiftWay;
    }

    public String getlGiftWay() {
        return lGiftWay;
    }

    public void setlCashGift(BigDecimal lCashGift) {
        this.lCashGift = lCashGift;
    }

    public BigDecimal getlCashGift() {
        return lCashGift;
    }

    public void setlGift(String lGift) {
        this.lGift = lGift;
    }

    public String getlGift() {
        return lGift;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("lGiftId", getlGiftId())
                .append("lEventType", getlEventType())
                .append("lPillarId", getlPillarId())
                .append("lGiftWay", getlGiftWay())
                .append("lCashGift", getlCashGift())
                .append("lGift", getlGift())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
